package py.com.fms.gnd.bean;

import java.util.Date;
import java.io.Serializable;

public class TreatmentBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3667745932105565309L;
	private Long id;
	private String cod; 
	private String descrip;
	private String status;
	private Long userIns;
	private Date startDate;
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((descrip == null) ? 0 : descrip.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final TreatmentBean other = (TreatmentBean) obj;
		if (descrip == null) {
			if (other.descrip != null)
				return false;
		} else if (!descrip.equals(other.descrip))
			return false;
		return true;
	}
	
	//Getters and Setters
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCod() {
		return cod;
	}
	public void setCod(String cod) {
		this.cod = cod;
	}
	public String getDescrip() {
		return descrip;
	}
	public void setDescrip(String descrip) {
		this.descrip = descrip;
	}

	public String getStatus() {
		return status;
	}

	public Long getUserIns() {
		return userIns;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setUserIns(Long userIns) {
		this.userIns = userIns;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}	

}
